<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/7/24 0024
  Time: 下午 10:55
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html><head><link rel="stylesheet" href="${pageContext.request.contextPath}/static/easyui/bootstrap/css/bootstrap.min.css">
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/easyui/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/easyui/bootstrap/js/bootstrap.min.js"></script>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/easyui/css/common/box.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/easyui/css/common/checkbox.css">
    <style type="text/css">
        a {
            color: black;

        }
        ul li a{
            font-size:13px;
        }
        a:hover {
            text-decoration: none;
        }

        .bgc-w {
            background-color: #fff;
        }
        /*下面是主题回复*/
        .chat-box .chat-title {
            padding: 10px;
            border-bottom: 1px solid #ddd;
        }

        .chat-box .big-img {
            border-radius: 50%;
            border: 2px solid #ddd;
            float: left;
            width: 40px;
            height: 40px;
        }

        .chat-box .username {
            display: block;
            margin-left: 50px;
        }

        .chat-box .right-time {
            margin-left: 50px;
            display: block;
        }

        .chat-box .comment-td {
            padding: 0;
            width: 40px;
        }

        .chat-box .raply-name {
            color: #54a0ea;
        }
    </style>

</head><body><div class="row" style="padding-top: 10px;">
    <div class="col-md-2">
        <h1 style="font-size: 24px; margin: 0;">通知查看</h1>
    </div>
    <div class="col-md-10 text-right">
        <a href="/admin/index/index.jsp"><span class="glyphicon glyphicon-home"></span> 首页</a>
        &gt; <a disabled="disabled">通知查看</a>
    </div>
</div>

<div class="row" style="padding-top: 15px;">
    <div class="col-md-12">
        <!--id="container"-->
        <div class="bgc-w box box-primary" style="border-top: 3px solid #d2d6de; color: #5f5f5f;">
            <!--盒子头-->
            <div class="box-header">
                <h3 class="box-title">
                    <a href="javascript:history.back();" class="label label-default" style="padding: 6px;">
                        <span class="glyphicon glyphicon-chevron-left">返回</span>
                    </a>
                </h3>

            </div>
            <!--盒子身体-->
            <div class="box-body no-padding chat-box" id="msg">
               <%-- <div class="chat-title">
                    <h4>
                        <span>要放假了？？</span>
                    </h4>
                    <h5>
                        <small> <span>发布：猿来入此</span> <span class="pull-right">2017-9-18 12:39:18</span>
                        </small>
                    </h5>
                </div>
                <div class="chat-content" style="padding: 10px 40px 12px 16px;">
                    <p>要放假了？？
                    </p>
                   &lt;%&ndash; <kbd><a href="http://programmer.ischoolbar.com/" style="color: #fff;font-size:12px;"><i class="glyphicon glyphicon-link"></i>打开连接</a></kbd>&ndash;%&gt;
                </div>--%>
            </div>
            <!--盒子尾-->
        </div>
    </div>
</div>
</body></html>

<script>
    $(document).ready(function () {
             var json = ${requestScope.msg};/*需要用这个作用域获取 el表达式是直接msg.biaoTi来取*/
             var bi= json.biaoTi;
             var cou ="";

       cou +=" <div class=\"chat-title\">\n" +
           "                    <h4>\n" +
           "                        <span>"+json.biaoTi+"</span>\n" +
           "                    </h4>\n" +
           "                    <h5>\n" +
           "                        <small> <span>发布："+json.peoPle+"</span> <span class=\"pull-right\">"+json.sendTime+"</span>\n" +
           "                        </small>\n" +
           "                    </h5>\n" +
           "                </div>\n" +
           "                <div class=\"chat-content\" style=\"padding: 10px 40px 12px 16px;\">\n" +
           "                    <p>"+json.miaoSu+"\n" +
           "                    </p>\n" +
           "                   <%-- <kbd><a href=\"http://programmer.ischoolbar.com/\" style=\"color: #fff;font-size:12px;\"><i class=\"glyphicon glyphicon-link\"></i>打开连接</a></kbd>--%>\n" +
           "                </div>";
        $("#msg").html(cou);
    })
    
</script>